<!--PDF-->
<template>
  <div class="pdfComponent-box">
    <view class="titleBoxs">
      <PageTitle class="boxTitle" :text="title"></PageTitle>
    </view>
    <PdfView class="pdfViewBox" :url="pdfUrl"></PdfView>
    <!-- <FooterTel></FooterTel> -->
  </div>
</template>

<script>
import PdfView from "../../components/pdfView.vue";
import PageTitle from "../../components/pageTitle.vue";
import FooterTel from "../../components/footerTel.vue";
export default {
  name: "Detail",
  components: {
    PdfView,
    PageTitle,
    FooterTel,
  },
  data() {
    return {
      title: null,
      pdfUrl: null,
    };
  },
  async onShow() {},
  async onLoad(e) {
    var vm = this;
    vm.title = e.title;
    vm.pdfUrl = e.pdfUrl;
  },
  created() {},
  methods: {
    previewImage(i, list) {
      this.func.previewImg(i, list);
    },
  },
  mounted() {
    var vm = this;
  },
};
</script>

<style lang="scss" scoped>
@import "../../../static/css/module.scss";
.pdfComponent-box {
  padding-bottom: 10px;
  .titleBoxs {
    padding-top: 10px;
  }
  .pdfViewBox {
    height: 600rpx;
  }
  .boxTitle {
    margin: 0 14px;
  }
  b.b {
    text-indent: 2rem;
  }
  .detailContent {
    .imgContent {
      width: auto;
      img {
        width: 100%;
      }
    }
  }
  .detailContent,
  .tips {
    padding: 20px 18px 20px;
    margin: 14px;
    font-size: 15px;
    line-height: 22px;
    overflow: hidden;
    .title {
      width: 100%;
      height: 30px;
      padding-left: 14px;
      line-height: 30px;
      font-size: 17px;
      font-weight: bold;
      color: #222;
      box-sizing: border-box;
      margin: 10px 0;
    }
  }
}
</style>
